home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pdox693.zip / TI1149.ASC < prev    next >
Text File  |  1992-12-02  |  12KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                               NUMBER  :  1149
  9.   VERSION  :  4.0
  10.        OS  :  DOS
  11.      DATE  :  December 2, 1992                         PAGE  :  1/6
  12.  
  13.     TITLE  :  Upgrading to Paradox 4.0
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience:
  19.   All Paradox users upgrading to Paradox 4.0.  Aimed especially at
  20.   users of Paradox 3.5.
  21.  
  22.   Prerequisites:
  23.   Should be familiar with a version of Paradox prior to 4.0.
  24.  
  25.   Purpose:
  26.   This Technical Information sheet provides a checklist of tips on
  27.   upgrading Paradox 3.5 to 4.0.  It also includes some tips on
  28.   upgrading applications to take advantage of the new features.
  29.   Most of the information applies to 3.0, and users of 2.0 should
  30.   still find this useful.
  31.  
  32.   There are many other Technical Information sheets containing
  33.   information about specific aspects of using Paradox 4.0, and the
  34.   number is growing.  It would be a good idea to download our
  35.   catalog on a regular basis.  Here are some that are current:
  36.  
  37.   #1063     An Explanation of 4.0 Table Locks
  38.   #1107     Manipulating Window Frames
  39.   #1109     Record Locks in 4.0
  40.   #1110     Converting PPROG Applications to 4.0
  41.   #1111     Summary of features and benefits of Paradox 4.0
  42.   #1112     Using IIF() in Reports
  43.   #1123     Introduction to DYNARRAY Branching
  44.  
  45.  
  46.   USER INTERFACE & GENERAL ISSUES
  47.  
  48.       o  Paradox 4.0 defaults to the new interface.  This user
  49.          interface looks and behaves differently from that found in
  50.          Paradox 3.5.  It may initially be more comfortable to work
  51.          with the Compatible User Interface.  To switch to
  52.          Compatible Mode, start Paradox with the command-line
  53.          switch -COMPMODE, or press <ALT-Space> | Interface | Yes
  54.          within Paradox to switch between modes.  You can also make
  55.          this a permanent default by doing <ALT-Space> | Utilities
  56.          | Custom | Standard Settings | Interface | Compatible.
  57.  
  58.       o  Compatible Mode contains most of the feature improvements
  59.          in Paradox 4.0, including memo fields, improved secondary
  60.          indexes, and the new locking mechanism.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                               NUMBER  :  1149
  75.   VERSION  :  4.0
  76.        OS  :  DOS
  77.      DATE  :  December 2, 1992                         PAGE  :  2/6
  78.  
  79.     TITLE  :  Upgrading to Paradox 4.0
  80.  
  81.  
  82.  
  83.  
  84.       o  All newly created tables default to the new 4.0 table
  85.          format.  To force a default of 3.5 (and earlier) format,
  86.          use the command-line switch -COMPFILE or the Custom
  87.          Configuration Program.  (Paradox 4.0 works equally well
  88.          with new and old tables).
  89.  
  90.       o  Paradox 4.0 runs fastest on machines with at least 4 Mb of
  91.          available RAM.  If you have less than that, use the
  92.          command-line switch -CODEPOOL with a value of 500 to 800.
  93.          This allows you adjust the amount of internal Paradox code
  94.          that resides in RAM.  A higher codepool may increase
  95.          performance.  Refer to Chapter 23 of the User's Guide for
  96.          more information on memory allocation options.
  97.  
  98.       o  Remove Paradox 3.5 from the PATH in your AUTOEXEC.BAT.
  99.          The 3.5 files can sometimes cause problems for 4.0.
  100.  
  101.       o  Paradox 4.0 uses a new memory management system called
  102.          DPMI.  This may require changes to your system
  103.          configuration.  Refer to  Chapter 23 of the User's Guide
  104.          for more information.
  105.  
  106.       o  Paradox 4.0 now includes a network aware application
  107.          development program called the Application Workshop.  It
  108.          replaces the Personal Programmer.  For additional
  109.          information on the Application Workshop, refer to the
  110.          Application Workshop Guide.
  111.  
  112.  
  113.   CHANGES IN SYSTEM DEFAULT SETTINGS
  114.  
  115.       o  The Paradox 4.0 Report Generator default setting for
  116.          ejecting a page has changed from LineFeed (in Paradox 3.5)
  117.          to FormFeed.  If you want to change this option, run the
  118.          Custom Configuration Program, then select Reports | Report
  119.          Settings and change the Eject Page With option to
  120.          Linefeeds.  If you are using a dot matrix printer, you may
  121.          need to change this setting to Linefeed.
  122.  
  123.       o  The Paradox 4.0 Report Generator default setting for
  124.          pagelength has changed from 66 lines per page (in Paradox
  125.          3.5) to 60 lines per page.  60 lines per page is the
  126.          correct pagelength setting for most laser printers using
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox                               NUMBER  :  1149
  141.   VERSION  :  4.0
  142.        OS  :  DOS
  143.      DATE  :  December 2, 1992                         PAGE  :  3/6
  144.  
  145.     TITLE  :  Upgrading to Paradox 4.0
  146.  
  147.  
  148.  
  149.  
  150.          8 1/2" x 11" paper.  If you are using a printer capable of
  151.          printing more than 60 lines per page or are using a size
  152.          of paper larger than 8 1/2" x 11", run the Custom
  153.          Configuration Program, then select Reports | Report
  154.          Settings, and change the Length option accordingly.
  155.  
  156.       o  The default numeric format is now set to United States,
  157.          regardless of the sort order Paradox is installed with.
  158.          If you require an International numeric format, run the
  159.          Custom Configuration Program, then select Format Data, and
  160.          change the Number Format to International.
  161.  
  162.       o  The default setting for Maintain Indexes has changed from
  163.          No (in Paradox 3.5) to Yes.  It is recommended that you
  164.          keep the Maintain Indexes option set to Yes.  To change
  165.          the Maintain Indexes setting, run the Custom Configuration
  166.          Program, then select Standard Settings and change the
  167.          Maintain Indexes option from Yes to No.  For additional
  168.          information about Indexing tables, refer to Chapter 23 of
  169.          the User's Guide and Chapter 21 of the PAL Programmer's
  170.          Guide.
  171.  
  172.       o  The default setting for Blanks = Zero has changed from No
  173.          (in Paradox 3.5) to Yes.  It is recommended that you keep
  174.          the Blanks = Zero option set to Yes.  If you want to
  175.          change this option, run the Custom Configuration Program,
  176.          then select Standard Settings, and change the Blanks =
  177.          Zero option from Yes to No.
  178.  
  179.       o  For additional information about the Custom Configuration
  180.          Program, refer to Chapter 15 of the Getting Started Guide.
  181.  
  182.  
  183.   NETWORKS & DATA SHARING
  184.  
  185.       o  Paradox 4.0 will not share data directories concurrently
  186.          with any previous version of Paradox.  All users sharing
  187.          data should upgrade at the same time.  Refer to the
  188.          Network Installation Guide and Chapter 21 of the User's
  189.          Guide for information on using Paradox 4.0 on a network.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.   PRODUCT  :  Paradox                               NUMBER  :  1149
  207.   VERSION  :  4.0
  208.        OS  :  DOS
  209.      DATE  :  December 2, 1992                         PAGE  :  4/6
  210.  
  211.     TITLE  :  Upgrading to Paradox 4.0
  212.  
  213.  
  214.  
  215.  
  216.       o  When using older versions of Paradox, tables with the new
  217.          4.0 format appear to be password protected.  To make these
  218.          tables readable by earlier versions use Modify |
  219.          Restructure | FileFormat | Compatible .  For information
  220.          on restructuring tables, refer to Chapter 11 of the User's
  221.          Guide.
  222.  
  223.  
  224.   PAL
  225.  
  226.       o  Recorded (instant) scripts from earlier versions may not
  227.          run properly in the Standard UI and need to run in
  228.          Compatible Mode.  This is due to the fact that the built
  229.          in Paradox dialog boxes require an extra ENTER to accept
  230.          the selected item.
  231.  
  232.       o  Libraries created with versions prior to 4.0 are
  233.          incompatible.  Use the PAL command CONVERTLIB, or
  234.          regenerate the libraries by playing the source scripts
  235.          that generate the libraries.
  236.  
  237.       o  All scripts should be run in Compatibility Mode until
  238.          upgraded.  Adding SETUIMODE COMPATIBLE as the first
  239.          command will automatically switch to Compatible Mode
  240.          before executing any subsequent commands.  SETUIMODE
  241.          STANDARD at the end of the application will switch back to
  242.          Standard Mode.
  243.  
  244.       o  If the tables have not been Restructured to 4.0 format,
  245.          and if any of the scripts does a Modify | Restructure,
  246.          then Paradox will prompt to confirm the conversion to
  247.          Standard table structure.  This may cause script errors.
  248.          Until all application tables are converted Paradox should
  249.          be started with the -COMPFILE switch.
  250.  
  251.       o  Compatible Mode does not support the mouse and as a side-
  252.          effect does not support most of the event-oriented
  253.          programming enhancements found in Standard Mode.
  254.  
  255.       o  Read the PAL Programmer's Guide Chapters 11-16 for
  256.          information on the new event-driven programming.
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.   PRODUCT  :  Paradox                               NUMBER  :  1149
  273.   VERSION  :  4.0
  274.        OS  :  DOS
  275.      DATE  :  December 2, 1992                         PAGE  :  5/6
  276.  
  277.     TITLE  :  Upgrading to Paradox 4.0
  278.  
  279.  
  280.  
  281.  
  282.   PROGRAMMING IN STANDARD MODE
  283.  
  284.       o  Screen I/O is slower in Standard Mode than it was in
  285.          Paradox 3.5. This is due to the greater complexity of the
  286.          windowed user interface.  There are a few things that you
  287.          can do to speed things up:
  288.  
  289.          Using ECHO NORMAL before WAIT will improve performance.
  290.  
  291.          If applications use extensive routines that do a lot of
  292.          background processing through the UI, temporarily switch
  293.          to Compatible Mode to speed things up.  Switch back to
  294.          Standard Mode when the background processes are completed.
  295.          (Note: switching between modes will clear the workspace so
  296.          be sure to be in Main Mode first).
  297.  
  298.       o  To remove the Paradox system menu, use SHOWPULLDOWN
  299.          ENDMENU or a floating canvas.
  300.  
  301.       o  Use WINDOW SETATTRIBUTES to remove window frames.
  302.  
  303.  
  304.   GENERAL COMMENTS ON APPLICATION CONVERSION
  305.  
  306.   The Paradox 4.0 Standard user interface not only looks different
  307.   from other versions, but implies an entirely new method of
  308.   developing applications under Paradox.  The ability to use Memos,
  309.   the Mouse, Pulldown Menus, and trap for Events relieves many
  310.   limitations found in the earlier versions.
  311.  
  312.   Examples:
  313.  
  314.       o  In Paradox 3.5 multilevel menus required nested levels of
  315.          ring menus, each contained within its own WHILE loop.  4.0
  316.          allows you to load a single Popup or Pulldown menu with
  317.          built in nested levels.
  318.  
  319.       o  Emulating memos in versions earlier than 4.0 was code-
  320.          intensive and required the use of multiple tables.
  321.          Paradox 4.0 has built-in memo fields.  This opens the door
  322.          to a vast array of text oriented applications.
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.   PRODUCT  :  Paradox                               NUMBER  :  1149
  339.   VERSION  :  4.0
  340.        OS  :  DOS
  341.      DATE  :  December 2, 1992                         PAGE  :  6/6
  342.  
  343.     TITLE  :  Upgrading to Paradox 4.0
  344.  
  345.  
  346.  
  347.  
  348.       o  Trapping for events (i.e. departing/arriving from/to a
  349.          row/field/table), is a PAL intensive task in 3.5,
  350.          requiring keystroke-by-keystroke evaluation or the use of
  351.          the Data Entry Toolkit.  4.0 allows direct trapping for
  352.          events through the new commands GETEVENT, SHOWDIALOG, and
  353.          the new version of WAIT.
  354.  
  355.   DISCLAIMER: You have the right to use this technical information
  356.   subject to the terms of the No-Nonsense License Statement that
  357.   you received with the Borland product to which this information
  358.   pertains.
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.